<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition lang="en" xmlns="http://www.w3.org/1999/xhtml" 
    xmlns:ui="http://java.sun.com/jsf/facelets" 
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jsp/jstl/core" template="./main.xhtml">
	<f:metadata>
		<f:event listener="#{excelController.initialize}" type="preRenderView"/>
	</f:metadata>
	<ui:define name="content">
		<br/>
		<h:form>
			<p:panelGrid columns="2">
				<p:selectOneMenu value="#{excelConversation.year}" filter="true" filterMatchMode="startsWith">
					<f:selectItems value="#{excelConversation.yearItems}"/>
				</p:selectOneMenu>
				<p:selectOneMenu value="#{excelConversation.month}" filter="true" filterMatchMode="startsWith">
					<f:selectItems value="#{excelConversation.monthItems}"/>
				</p:selectOneMenu>
			</p:panelGrid>
			<br/>
			<p:commandButton ajax="false" action="#{excelController.outputMonth}" value="Excel出力" styleClass="button_big"/>
		</h:form>
	</ui:define>
</ui:composition>
